/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.business.service.dto;

import lombok.Data;
import me.zhengjie.business.domain.WhfaFfx;

import javax.persistence.CascadeType;
import javax.persistence.OneToMany;
import java.sql.Date;
import java.sql.Timestamp;
import java.io.Serializable;
import java.util.List;

/**
* @website https://el-admin.vip
* @description /
* @author xiahongbo
* @date 2022-07-18
**/
@Data
public class WhfaDto implements Serializable {

    /** 主键 */
    private String bisWhfaId;

    /** 照护ID */
    private Long bisWhfaZhsqId;

    /** 方案实施日期 */
    private String bisWhfaHwrq;

    /** 起始钟点 */
    private String bisWhfaStartTime;

    /** 结束钟点 */
    private String bisWhfaEndTime;

    /** 方案状态 */
    private String bisWhfaZt;

    /** 服务类型 */
    private String bisWhfaFwlx;

    @OneToMany(mappedBy = "whfa",cascade={CascadeType.PERSIST,CascadeType.REMOVE})
    private List<WhfaFfx> whfaFfxes;

    /** 业务类型 */
    private String ywlx;

    /** 录入人 */
    private Long lrr;

    /** 录入人姓名 */
    private String lrrxm;

    /** 录入人部门 */
    private Long lrbm;

    /** 录入人部门名称 */
    private String lrbmmc;

    /** 录入时间 */
    private Timestamp lrsj;

    /** 更新人 */
    private Long gxr;

    /** 更新人姓名 */
    private String gxrxm;

    /** 更新人部门 */
    private Long gxbm;

    /** 更新人部门名称 */
    private String gxbmmc;

    /** 更新时间 */
    private Timestamp gxsj;

    /** 是否有效 */
    private String sfyx;

    /** 备注 */
    private String bz;
}